package com.sparrow.example_message.map.req;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "请求拾取")
@Packet(msgId = PacketId.Scene.REQ_PICK_UP)
public class ReqPickUpPacket {
    @Protobuf(description = "miss desc")
    private long targetId;
    @Protobuf(description = "miss desc")
    private int entityType;

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }

    public void setEntityType(int entityType) {
        this.entityType = entityType;
    }

    public int getEntityType() {
        return entityType;
    }
}
